package com.tian.dto.req;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * {@code @description:} TODO
 *
 * @author tianwc 公众号：Java后端技术全栈
 * 在线刷题 1200+java面试题和1000+篇技术文章：<a href="https://woaijava.cc/">博客地址</a>
 * {@code @date:} 2024-09-09 17:21
 * {@code @version:} 1.0
 */
@Data
public class UserInfoAddReqDto {
    private Integer id;
    @NotBlank(message = "账户名不能为空")
    private String userName;
    @NotBlank(message = "密码不能为空")
    private String password;
    private Integer roleId;
    private String gender;
    @NotBlank(message = "手机号不能为空")
    private String phone;
}
